﻿namespace test.kafka
{
    public interface IEventHandler 
    {

    }

    /// <summary>
    /// 事件处理器接口
    /// </summary>
    /// <typeparam name="TMQMessage"></typeparam>
    public interface IEventHandler<in TMQMessage>: IEventHandler where TMQMessage : IEventMessage
    {
        void Handle(TMQMessage evtArgs);
    }
}
